import { createSSRApp } from 'vue';
import App from './App.vue';
import { createPinia } from 'pinia';

export function createApp() {
  const app = createSSRApp(App);
  // 状态管理
  const store = createPinia();
  app.use(store);

  return {
    app,
  };
}
